package org.example.paymentservice.service;

import org.example.paymentservice.dto.OrderRequest;
import org.example.paymentservice.entity.Order;

public interface OrderProcessor {
    Order createOrder(OrderRequest orderRequest);
    Order validateOrder(Long orderId);
    void updateOrderStatus(Long orderId, Order.PaymentStatus status);
    Order getOrder(Long orderId);
}